package com.mapper;


import com.domain.Book;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
* @author admin
* @description 针对表【tb_book】的数据库操作Mapper
* @createDate 2024-12-09 08:58:06
* @Entity com.domain.Book
*/
@Component
public interface BookMapper  {
    @Select("select * from tb_book where id =#{id}")
public Book findBookById(Integer id);

}
